package com.rongc.client.freight.business.supply.request.api;


import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.rongc.client.core.network.api.AbsRequest;
import com.rongc.client.core.network.params.BaseParams;
import com.rongc.client.freight.ApiUrl;


/*
*  货主加价
* */

public class SupplyModifyPriceApi extends AbsRequest<SupplyModifyPriceApi.SupplyModifyPriceParams, String> {

    public SupplyModifyPriceApi(SupplyModifyPriceParams feedbackParams, Listener<String> listener, ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getModifyPriceUrl(), feedbackParams, listener, errorListener, String.class);
    }

    public static class SupplyModifyPriceParams extends BaseParams {

        public SupplyModifyPriceParams(String goodId,String price) {
            put("goodId",goodId);
            put("price",price);
        }
    }


}
